$(window).ready(function(){	
	$('#aDiv1').click(function(){
		$('#div1').attr('title',i18n.message.msg).dialog(dialogConfig);
	});

	$('#aDiv2').click(function(){
		$('#div2').attr('title',i18n.message.msg).dialog(dialogConfig);
	});

	$('#aDiv3').click(function(){
		$('#div3').attr('title',i18n.message.msg).dialog(dialogConfig);
	});
	
	$('#aDiv4').click(function(){
		$('#div4').attr('title',i18n.message.msg).dialog(dialogConfig);
	});
	
	$('#aDiv5').click(function(){
		$('#div5').attr('title',i18n.message.msg).dialog(dialogConfig);
	});
	
	$('#aDiv6').click(function(){
		$('#div6').attr('title',i18n.message.msg).dialog(dialogConfig);
	});
	
	$('#displayCurrentDateTime').click(function(){
		var date;
		date = $.DateUtils.getCurrentDateTimeString();
		alert(date);
	});

	$('#displayCurrentDate').click(function(){
		var date;
		date = $.DateUtils.getCurrentDateString();					
		alert(date);
	});
	
	$('#displayCurrentYearAndMonth').click(function(){
		var date;
		date = $.DateUtils.getCurrentYearAndMonthString();					
		alert(date);				
	});
	
	$('#displayDateTime').click(function(){
		var date = new Date(2008,8,1,23,59,59);
		var str;
		str = $.DateUtils.getDateTimeString(date);					
		alert(str);				
	});
	
	$('#displayDate').click(function(){
		var date = new Date(2008,8,1,23,59,59);
		var str;
		str = $.DateUtils.getDateString(date);					
		alert(str);				
	});
	
	$('#displayYearAndMonth').click(function(){
		var date = new Date(2008,8,1,23,59,59);
		var str;
		str = $.DateUtils.getYearAndMonthString(date);					
		alert(str);				
	});
});